[Unit]
Description=Podman Dragonfly supernode Service
After=network.target
After=network-online.target

[Service]
Type=simple
ExecStart=/usr/bin/dtr run \
   --name supernode \
   -it \
   --security-opt label=disable \
   -p 8001:8001 \
   -p 8002:8002 \
   -v /data/cloudh/supernode:/home/admin/supernode \
   dragonflyoss/supernode@sha256:{{ sha256 }}
ExecStop=/usr/bin/podman rm -f supernode
Restart=always

[Install]
WantedBy=multi-user.target
